package com.star95.shirologin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("客户端客户登录信息dto")
@NoArgsConstructor
public class CustomerUserDto {

    public CustomerUserDto(String id, String customerAccount, String customerName, String password) {
        this.id = id;
        this.customerAccount = customerAccount;
        this.customerName = customerName;
        this.password = password;
    }

    @ApiModelProperty("登录人id")
    private String id;

    @ApiModelProperty("客户账号")
    private String customerAccount;

    @ApiModelProperty("客户名称")
    private String customerName;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("token，示例演示，这里公用这个dto")
    private String token;
}
